package com.dkd.manage.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dkd.common.annotation.Excel;
import com.dkd.common.core.domain.BaseEntity;

/**
 * 驾驶员资料管理对象 drivers
 * 
 * @author yuwensheng
 * @date 2024-09-16
 */
public class Drivers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 驾驶员ID */
    private Long id;

    /** 名字 */
    @Excel(name = "名字")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private Long gender;

    /** 电话 */
    @Excel(name = "电话")
    private String phoneNumber;

    /** 驾驶证类型 */
    @Excel(name = "驾驶证类型")
    private Long drivingLicense;

    /** 车辆编号 */
    @Excel(name = "车辆编号")
    private String vehicleCode;

    /** 驾照分数 */
    @Excel(name = "驾照分数")
    private Long licensePoints;

    /** 身份证 */
    @Excel(name = "身份证")
    private String idNumber;

    /** 家庭住址 */
    @Excel(name = "家庭住址")
    private String homeAddress;

    /** 创建时间 */
    private Date createdAt;

    /** 修改时间 */
    private Date updatedAt;

    /** 创建人 */
    private String createdBy;

    /** 修改人 */
    private String updatedBy;

    /** 备注 */
    private String remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGender(Long gender) 
    {
        this.gender = gender;
    }

    public Long getGender() 
    {
        return gender;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setDrivingLicense(Long drivingLicense) 
    {
        this.drivingLicense = drivingLicense;
    }

    public Long getDrivingLicense() 
    {
        return drivingLicense;
    }
    public void setVehicleCode(String vehicleCode) 
    {
        this.vehicleCode = vehicleCode;
    }

    public String getVehicleCode() 
    {
        return vehicleCode;
    }
    public void setLicensePoints(Long licensePoints) 
    {
        this.licensePoints = licensePoints;
    }

    public Long getLicensePoints() 
    {
        return licensePoints;
    }
    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }
    public void setHomeAddress(String homeAddress) 
    {
        this.homeAddress = homeAddress;
    }

    public String getHomeAddress() 
    {
        return homeAddress;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("gender", getGender())
            .append("phoneNumber", getPhoneNumber())
            .append("drivingLicense", getDrivingLicense())
            .append("vehicleCode", getVehicleCode())
            .append("licensePoints", getLicensePoints())
            .append("idNumber", getIdNumber())
            .append("homeAddress", getHomeAddress())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .append("createdBy", getCreatedBy())
            .append("updatedBy", getUpdatedBy())
            .append("remarks", getRemarks())
            .toString();
    }
}
